<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
	"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8">
	<title>jap name</title>
<script type="text/javascript" src="https://raw.github.com/kvz/phpjs/master/functions/info/ini_set.js"></script>
<script type="text/javascript" src="https://raw.github.com/kvz/phpjs/master/functions/i18n/i18n_loc_set_default.js"></script>
<script type="text/javascript" src="https://raw.github.com/kvz/phpjs/master/functions/i18n/i18n_loc_get_default.js"></script>
<script type="text/javascript" src="https://raw.github.com/kvz/phpjs/master/functions/array/krsort.js"></script>
<script type="text/javascript" src="https://raw.github.com/kvz/phpjs/master/functions/strings/strtr.js"></script>
<script type="text/javascript">
var dic = Array();
dic['A'] = 'ka';
dic['B'] = 'tu';
dic['C'] = 'mi';
dic['D'] = 'te';
dic['E'] = 'ku';
dic['F'] ='lu';
dic['G'] = 'ji';
dic['H'] = 'ri';
dic['I'] = 'ki';
dic['J'] = 'zu';
dic['K'] = 'me';
dic['L'] = 'ta';
dic['M'] = 'rin';
dic['N'] = 'to';
dic['O'] = 'mo';
dic['P'] = 'no';
dic['Q'] = 'ke';
dic['R'] = 'shi';
dic['S'] = 'ari';
dic['T'] = 'chi';
dic['U'] = 'do';
dic['V'] = 'ru';
dic['W'] = 'mei';
dic['X'] = 'na';
dic['Y'] = 'fu';
dic['Z'] = 'zi';

function conv(){
enname = document.getElementById('eng').value;
japname = strtr(enname.toUpperCase(),dic);

document.getElementById('jap').innerHTML = japname;

}
</script>
</head>
<body>
<textarea id='eng'>English name here</textarea>
<br />
<textarea id='jap'>Jap name here</textarea>
<br />
<br />
<button onclick="conv()">Convert Now</button>
  <p>Idea from <a href="http://forum.projanmo.com/post370013.html#p370013">projanmo</a>, created by (c) Sarim Khan</p>
</body>
</html>
